package cn.mazexal.examapi.models.db;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 回调通知记录表
 *
 */
@Data
@TableName(value = "fin_notification_log")
public class FinNotificationLogDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id")
	private Long id;

	/**
	 * 日志记录接口位置
	 */
	@TableField(value = "log_url")
	private String logUrl;

	/**
	 * 环境
	 */
	@TableField(value = "enviroment")
	private String enviroment;

	/**
	 * 渠道通知 ID, 苹果用 transaction_id
	 */
	@TableField(value = "notification_id")
	private String notificationId;

	/**
	 * 通知原始数据
	 */
	@TableField(value = "notification_data")
	private String notificationData;

	/**
	 * 关联订单号
	 */
	@TableField(value = "related_order_no")
	private String relatedOrderNo;

	/**
	 * 是否已处理
	 */
	@TableField(value = "is_processed")
	private Integer isProcessed;

	/**
	 * 
	 */
	@TableField(value = "extra_info")
	private String extraInfo;

	/**
	 * 处理结果
	 */
	@TableField(value = "process_result")
	private String processResult;

	/**
	 * 
	 */
	@TableField(value = "creat_time")
	private Long creatTime;

	/**
	 * 
	 */
	@TableField(value = "updated_time")
	private Long updatedTime;

}